body{
    background-color: #000;
}

h1,p{
    margin: 0;
    padding: 0;
}

/*媒介查询*/
@media screen and (max-width: 1200px){
    h1{
        color: blue;
    }
    .wrapper{
        width: 1328px;
        margin: 0 auto;
        background-color: green;
    }
    .header{
        width: 1328px;
        margin: 0 auto;
        background-color: #0f0f0f;
    }
    .main{
        width: 1328px;
        margin: 0 auto;
    }

    .footer{
        width: 1328px;
        margin: 0 auto;
        background-color: darkviolet;
        min-height: 80px;
    }

    .sidebar{
        float: left;
        width: 245px;
        margin-right: 5px;
        background-color: #c82333;
        min-height: 600px;
    }

    .center{
        float: left;
        width: 1078px;
        background-color: blueviolet;
        min-height: 600px;
    }
}

@media screen and (max-width: 980px) and (max-width: 1199px){
    h1{
        color: red;
    }
}

@media screen and (min-width: 768px) and (max-width: 979px){
    h1{
        color: yellow;
    }
}

@media screen and (min-width: 480px)and (max-width: 767px){
    h1{
        color: cyan;
    }
}

@media screen and (max-width: 479px){
    h1{
        color: chocolate;
    }
}